home *** CD-ROM | disk | FTP | other *** search
/ Software USA: Back to School / Software USA: Back to School.iso / pc / children / decoder / run / decoder.exe / decoder.dxr / script_3.ls < prev    next >
Encoding:
Text File  |  1996-11-19  |  492 b   |  19 lines

  1. on mouseDown
  2.   puppetSprite(the clickOn, 1)
  3.   set newLoc to the loc of sprite the clickOn + point(2, 2)
  4.   repeat while the stillDown
  5.     if rollOver(the clickOn) then
  6.       set the loc of sprite the clickOn to newLoc
  7.       updateStage()
  8.       next repeat
  9.     end if
  10.     set the loc of sprite the clickOn to newLoc - point(2, 2)
  11.     updateStage()
  12.   end repeat
  13.   puppetSprite(the clickOn, 0)
  14.   updateStage()
  15.   if rollOver(the clickOn) then
  16.     go(the name of member the mouseCast)
  17.   end if
  18. end
  19.